#include <stdlib.h>
#include "candle.h"
#include <list>
#include <vector>
#include <string>
#include "processadordearquivos.h"
#include "bollingerbands.h"
#include "trix.h"
#include <iostream.h>
using namespace std;


int main(int argc, char *argv[])
{
   


double fech[] = { 42.90, 42.37, 42.90, 42.51, 42.30, 41.35, 41.55, 41.13, 41.50,
   42.28, 42.69, 43.18, 43.20,  42.92, 41.45, 41.45, 40.90, 42.06, 42.16, 42.39, 42.40};

  

    int numDias = sizeof(fech)/sizeof(double);
 
    
    Trix *t = new Trix();
    t->calculoTrix(fech,15,10);



    double  k = 0.1;

    BollingerBands *boll = new BollingerBands();
    boll->bollingerBandesCalc(fech,k, numDias);


    system("pause");

    return 0;


}
